package com.ruoyi.central.controller.custom;

import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname MasterContrlController
 * @Author: sunluquan
 * @Date: 2022/4/24 16:58
 * @Description TODO
 * 总控数据
 */
@RestController
@RequestMapping("/masterControl")
public class MasterControlController {

    @Autowired
    private OperationStationController operationStationController;

    @GetMapping("/getOperationStationAreaList")
    public AjaxResult getOperationStationAreaList(){

        return operationStationController.get();
    }
}
